﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DLLTest
{
    public partial class frm_AddDevice : Form
    {
        /// <summary>
        /// 确认按钮是否按下
        /// </summary>
        public bool blnOKEnter = false;
        public frm_AddDevice()
        {
            InitializeComponent();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            blnOKEnter = true;
            this.Close();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            blnOKEnter = false;
            this.Close();
        }
    }
}
